@import "reset.css";
@import "mediaQuery.css";


* {
  box-sizing: border-box;
}
a{
  color: #333;
}
.subtext{
  color: #666;
}
.bg-main{
  background: #fff;
}
.mt10{
  margin-top: 0.1rem;
}
.mr10{
  margin-right: 10px;
}
.text-center{
  text-align: center;
}
.pd10{
  padding: 0.1rem;
}

.text-indent{
  text-indent: 2em;
  line-height: 0.24rem;
  margin-top: 0.1rem;
}

.common-title{
  font-size: 0.16rem;
  margin-bottom: 0.1rem;
}
body{
  background: #f5f5f5;
  font-size: 0.14rem;
  color: #333;
  /* -webkit-overflow-scrolling: touch; */
}

/* header styles*/
header{
  font-size: 0.2rem;
  text-align: center;
  position: relative;
  line-height: 0.44rem;
  background: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}
header img.user{
  width: 0.22rem;
  position: absolute;
  top: 0.1rem;
  left: 0.15rem;
}

/* siderbar */
.sider-cover{
  position: fixed;
  top: 0.44rem;
  bottom: 0;
  left: 0;
  right: 0;
  background:rgba(0, 0, 0, 0.4);
  z-index: 98;
  visibility: hidden;
}
.sider-cover.active{
  visibility: visible;
}

.siderbar {
  position: fixed;
  z-index: 99;
  top: 0.44rem;
  bottom: 0;
  left: 0;
  width: 75%;
  background: #Fff;
  border-top: 1px solid #f2f2f2;
  transition: transform 0.4s;
  transform: translate3d(-100%, 0, 0);
  box-shadow: 0 0 10px #999;
}

.siderbar.active{
  transform: translate3d(0, 0, 0);
}

.siderbar .guest{
  text-align: center;
}
.siderbar .guest a{
  display: block;
  line-height: 0.4rem;
  margin-top: 0.22rem;
  font-size: 0.16rem;
}

.siderbar .guest img{
  vertical-align: middle;
  height: 0.24rem;
  margin-right: 0.1rem;
}

/* bannber styles */
.banner{
  height: 1.88rem;
  overflow: hidden;
  margin-top: 0.44rem;
}
.banner-wrap{
  width: 200%;
  height: 1.88rem;
  transition: transform 0.6s;
  transform: translate3d(0, 0, 0);
}
.banner-wrap .banner-item{
  width: 50%;
  float: left;
  height: 1.88rem;
}
.banner-wrap img{
    width:100%;
    height: 1.88rem;
}

/* menu */
.menu{
  display: flex;
  background: #fff;
  padding: 0.24rem 0;
}
.menu-item{
  flex: 1;
  text-align: center;
}
.menu img{
  width: 0.44rem;
}

/* 套餐推荐 */
.package-recomand{
  padding: 0.15rem;
  background: #fff;
}
.package-recomand {
  
}
.packages {
 overflow: hidden;
}
.packages li {
  float: left;
  width: 50%;
  padding-right: 0.1rem;
  margin-bottom: 0.2rem;
}
.packages li:nth-child(2n) {
  padding-right: 0;
}
.packages li img{
  width: 100%;
  height: 1.65rem;
}


/* 详情页面 */
.fullwidth {
  width: 100%;
}
.detail-header {
  background: #fff;
}

.detail-header h1{
  font-size: 0.24rem;
  margin: 0.16rem; 
  font-weight: 400;
}
.detail-subtitle{
  font-size: 0.12rem;
  padding:0.2rem 0.16rem;
}
.detail-subtitle img{
  width: 0.14rem;
  /* vertical-align: middle; */
  color: #828999;
}
.detail-title{
  font-size: 0.16rem;
  margin: 0.16rem;
  border-left: 0.04rem solid #45a0fb;
  padding-left: 0.16rem;
}

.detail-introduce{
  background: #fff;
  padding: 0.1rem 0;
}

.detail-wrap{
  color: #666;
}
.detail-wrap li{
  padding: 0.08rem 0.25rem;
}

.common-table {
  border-collapse: collapse;
  width: 100%;
  table-layout:fixed;
}
.common-table .header {
  background: #f2f2f2;
}
 

.common-table td {
  padding: 0.16rem 0.1rem;
  border: 1px solid #f2f2f2;
}
.common-table  td.bggreen{
    background:lightgreen;
    color: green;
  }
footer{
  background: #fff;
  padding: 0.16rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
footer .money, .footer .action{
  flex:1;
}

.money-unit{
  color: #ff4433;
}
.money-price{
  color: #ff4433;
  font-size: 0.16rem;
}
footer .action a{
  width:2.6rem;
  background: #45a0fb;
  color: #fff;
  padding: 0.12rem 0.32rem;
  border-radius: 0.26rem;
  font-size: 0.16rem;
}


/* 中心详情 */
.kernel-detail{
  background: #Fff;
}

/* fixed auto */
.tabs{
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  display: flex;
  padding: 0.16rem;
  background: #fff;
}
.tabs li{
  flex: 1;
}
.tabs li a{
  padding: 0.1rem;
}
.tabs li.active a{
  border-bottom: 2px solid #45a0fb;
  color: #45a0fb;
}